package com.yanqu.road.entity.activity.summerquiz;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_summer_quiz_data", desc = "竞猜")
public class CrossSummerQuizData extends DataObject{

    @FieldTypeAnnotation(select = true, update = true, desc = "活动ID")
    private int activityId;

    @FieldTypeAnnotation(update = true, desc = "竞猜配置id")
    private int quizConfigId;

    @FieldTypeAnnotation(update = true, desc = "夏日活动id")
    private int gameActivityId;

    @FieldTypeAnnotation(desc = "实时赔率：是")
    private int oddsYes;

    @FieldTypeAnnotation(desc = "实时赔率：否")
    private int oddsNo;

    @FieldTypeAnnotation(desc = "热度：是")
    private int yesCount;

    @FieldTypeAnnotation(desc = "热度：否")
    private int noCount;

    @FieldTypeAnnotation(desc = "押注：是")
    private long yesSum;

    @FieldTypeAnnotation(desc = "押注：否")
    private long noSum;

    @FieldTypeAnnotation(desc = "是否结算")
    private boolean settle;

    @FieldTypeAnnotation(desc = "计算赔率的时间")
    private long lastOddsTime;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public int getQuizConfigId() {
        return quizConfigId;
    }

    public void setQuizConfigId(int quizConfigId) {
        if(this.quizConfigId != quizConfigId) {
            this.quizConfigId = quizConfigId;
            setUpdateOption();
        }
    }

    public int getGameActivityId() {
        return gameActivityId;
    }

    public void setGameActivityId(int gameActivityId) {
        if(this.gameActivityId != gameActivityId) {
            this.gameActivityId = gameActivityId;
            setUpdateOption();
        }
    }

    public int getOddsYes() {
        return oddsYes;
    }

    public void setOddsYes(int oddsYes) {
        if(this.oddsYes != oddsYes) {
            this.oddsYes = oddsYes;
            setUpdateOption();
        }
    }

    public int getOddsNo() {
        return oddsNo;
    }

    public void setOddsNo(int oddsNo) {
        if(this.oddsNo != oddsNo) {
            this.oddsNo = oddsNo;
            setUpdateOption();
        }
    }

    public int getYesCount() {
        return yesCount;
    }

    public void setYesCount(int yesCount) {
        if(this.yesCount != yesCount) {
            this.yesCount = yesCount;
            setUpdateOption();
        }
    }

    public int getNoCount() {
        return noCount;
    }

    public void setNoCount(int noCount) {
        if(this.noCount != noCount) {
            this.noCount = noCount;
            setUpdateOption();
        }
    }

    public long getYesSum() {
        return yesSum;
    }

    public void setYesSum(long yesSum) {
        if(this.yesSum != yesSum) {
            this.yesSum = yesSum;
            setUpdateOption();
        }
    }

    public long getNoSum() {
        return noSum;
    }

    public void setNoSum(long noSum) {
        if(this.noSum != noSum) {
            this.noSum = noSum;
            setUpdateOption();
        }
    }

    public boolean isSettle() {
        return settle;
    }

    public void setSettle(boolean settle) {
        if(this.settle != settle) {
            this.settle = settle;
            setUpdateOption();
        }
    }

    public long getLastOddsTime() {
        return lastOddsTime;
    }

    public void setLastOddsTime(long lastOddsTime) {
        if(this.lastOddsTime != lastOddsTime) {
            this.lastOddsTime = lastOddsTime;
            setUpdateOption();
        }
    }
}
